package cp.tools.db.utils;

public class Assert {

	public static void isNull(Object obj,String msg){
		if(ValidateUtils.isNull(obj)){
			throw new RuntimeException(msg);
		}
	}
	
	public static void isEmpty(Object obj,String msg){
		if(ValidateUtils.isEmpty(obj)){
			throw new RuntimeException(msg);
		}
	}
	
}
